<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>9-新建一个数组，里面存放10个整数</title>
	</head>
	<body>
		<script type="text/javascript">
			//1-10
			//初始化一个空的数组
			var empty = [];
			//循环
			for(var i=0;i<10;i++){
				empty[i] = i+1;
			}
			//数组::1,2,3,4,5,6,7,8,9,10
			console.log("数组::"+empty);
		</script>
	</body>
</html>
